import  BarChart  from "@/components/BarChart"

const Data=()=>{
    return (
    <div>
        <BarChart xData={['老大', '老二', '老三', '老四', '老五', '小六']} sData={[5, 20, 36, 10, 10, 20]} barTitle="年龄图" barName="年龄" />

          <BarChart xData={['老大', '老二', '老三', '老四', '老五', '小六']} sData={[5, 20, 36, 10, 10, 20]} barTitle="成绩图" barName="年龄" style={{ width: '200px', height: '200px' }}/>
        </div>
    )
}
export default Data